package mythread.a01threadcase1;

public class MyTread extends Thread{
    @Override
    public void run() {
        //书写要执行的代码
        for (int i = 0; i < 50; i++) {
            System.out.println(getName()+":HelloWorld");
        }
    }
}
